<template>
    <div class="buttom-btn">
        <button @click="handleClick">{{title}}</button>
    </div>
</template>

<script type="text/ecmascript-6">
    export default {
        props: {
            title: {
                type: String,
                default: '编辑'
            }
        },
        methods: {
            handleClick () {
                this.$emit('handleClick')
            }
        }
    }
</script>

<style lang="stylus" rel="stylesheet/stylus" scoped>
    .buttom-btn
        box-sizing: border-box
        width: 100%
        height: 92rpx
        margin-top 80rpx
        button
            background: #007aff
            font-size 40rpx
            color #ffffff
            border-radius 0
            border 0
            height 100%
</style>
